package cn.qrx.gateway.executor;

import cn.qrx.gateway.datasource.Connection;
import cn.qrx.gateway.seesion.Configuration;

/**
 * @Author: 屈燃希
 * @Date: 2025/10/27
 * @Version: V1.0
 * @Description:
 */
public class SimpleExecutor extends BaseExecutor{
    public SimpleExecutor(Configuration configuration, Connection connection) {
        super(configuration, connection);
    }

    @Override
    protected Object doExecute(String methodName, String[] parameterTypes, Object[] args) {
        return connection.execute(methodName,parameterTypes,new String[]{"ignore"},args);
    }
}
